package tests.model_tests;

import static org.junit.Assert.*;
import application.models.datalayer.Operator;
import org.junit.Test;

/**
 * This class tests that the Operator enum class gives the correct output.
 * 
 * @author Morten F. Therkildsen & Philip J. Rasmussen
 */
public class Operator_test {

	@Test
	public void test(){

		if(!Operator.EQUALS.toSql().equals("=")) fail();
		if(!Operator.LESS.toSql().equals("<")) fail();
		if(!Operator.GREATER.toSql().equals(">")) fail();
	}

}
